﻿<cfcomponent output="false" extends="it.millemultimedia.easyBlog.util.EventManager" >

	<cffunction name="notifyOnApplicationStart" access="public" output="false" returntype="void">
		<cfset fireEvent('onApplicationStart',arguments) />
	</cffunction>

	<cffunction name="notifyOnRequestStart" access="public" output="false" returntype="void">
		<cfset fireEvent('onRequestStart',arguments) />
	</cffunction>

	<cffunction name="notifyOnRequestEnd" access="public" output="false" returntype="void">
		<cfset fireEvent('onRequestEnd',arguments) />
	</cffunction>

	<cffunction name="notifyOnSessionStart" access="public" output="false" returntype="void">
		<cfset fireEvent('onSessionStart',arguments) />
	</cffunction>

	<cffunction name="notifyOnSessionEnd" access="public" output="false" returntype="void">
		<cfset fireEvent('onSessionEnd',arguments) />
	</cffunction>
	
	<cffunction name="configureEvent" access="private" returntype="void" output="false">
		<cfscript>
		addEvent( 'onApplicationStart' );
		addEvent( 'onRequestStart' );
		addEvent( 'onRequestEnd' );
		addEvent( 'onSessionStart' );
		addEvent( 'onSessionEnd' );
		</cfscript>
	</cffunction>

</cfcomponent>